package cn.wangqi.personal.service;

import cn.wangqi.personal.domain.BlogArticle;
import cn.wangqi.personal.util.Page;

import java.util.List;

/**
 * Created by admin on 2017/10/17.
 */
public interface IBlogArticleService {
    /**
     * @Author: admin
     * @date: 2017/11/10 17:10
     * Description: 查找用户文章列表
     * @param userId
     * @param page
     * @return java.util.List<cn.wangqi.personal.domain.BlogArticle>
     */
    List<BlogArticle> listBlogArticle(Integer userId,Page page);

    /**
     * @Author: admin
     * @date: 2017/11/10 17:20
     * Description: 查找用户推荐的文章
     * @param userId
     * @return java.util.List<cn.wangqi.personal.domain.BlogArticle>
     */
    List<BlogArticle> findRecomArticleByUserId(Integer userId);
}
